﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyConsole.CalcService;

namespace MyConsole
{
    class Program
    {
        

        static void Main(string[] args)
        {
            CalcService.MyServiceClient sc = new CalcService.MyServiceClient();

            att t = new att();

            Console.Title = "Testing My Application";
            Console.WriteLine(sc.WelcomeMSg());
            Console.WriteLine("Enter the first number");
            t.firstnumber = float.Parse(Console.ReadLine());
            Console.WriteLine("Enter the Operator desired, whether + or -");
            t.op = char.Parse(Console.ReadLine());
            Console.WriteLine("Enter the second number");
            t.secondnumber = float.Parse(Console.ReadLine());

            Console.WriteLine(sc.Calculate(t));
            Console.ReadLine();
        }
    }
}
